You are here:
Symbol Reference >
Dew Namespace
>
Dew.Stats Namespace
>
Dew.Stats.Units Namespace
>
Classes
>
StatRandom Class
>
StatRandom Methods
>
StatRandom.RandomGeometric Method
Dew Stats for .NET
Example
StatRandom.RandomGeometric Method
Generate 2000 random numbers by using the geometric distribution with parameters P=0.6.
using
Dew.Math
;
using
Dew.Stats.Units
;
namespace
Dew.Examples {
private
void
Example() {
Vector
r =
new
Vector
(2000,
false
); StatRandom.RandomGeometric(0.6, r, -1); } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home